package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF6BW0800 {
    private static double[] cer = {
            7.332e-10,
            -2.6601e-07,
            3.3492e-05,
            -0.0017251,
            0.0325,
            0.75862,
            0.76234,};
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -26.0984,
                    -7.8795,
                    3.9309,
                    1.8709,
                    0.085636,
                    1.7794,
                    1.8938,
                    2.0082,
                    2.6033,
                    2.3516,
                    2.5576,
                    2.6033,
                    1.6878,
                    1.5276,
                    1.7336,
                    1.5963,
                    1.8709,
                    2.054,
                    1.642,
                    1.23,
                    1.0927,
                    1.0927,
                    1.23,
                    1.0012,
                    0.86383,
                    0.86383,
                    0.63495,
                    0.7265,
                    1.1614,
                    1.1385,
                    0.81806,
                    0.70362,
                    0.77228,
                    1.0469,
                    0.95539,
                    1.0927,
                    1.0469,
                    1.0012,
                    0.86383,
                    1.0012,
                    0.86383,
                    1.1385,
                    1.0012,
                    1.3216,
                    2.4202,
                    2.9695,
                    3.1984,
                    3.29,
                    3.0153,
                    2.878,
                    3.1984,
                    3.0153,
                    3.0382,
                    3.1069,
                    2.878,
                    2.878,
                    2.878,
                    3.0153,
                    3.8393,
                    5.4872,
                    5.8992,
                    6.0823,
                    6.0366,
                    6.0366,
                    6.0823,
                    6.0366,
                    6.4486,
                    6.4028,
                    6.2883,
                    6.4028,
                    6.357,
                    6.9521,
                    7.181,
                    7.181,
                    7.0894,
                    7.2267,
                    7.0894,
                    7.181,
                    7.6158,
                    7.8676,
                    7.7303,
                    8.0049,
                    7.9592,
                    8.2796,
                    8.4169,
                    8.5085,
                    8.5543,
                    8.5543,
                    9.2409,
                    9.1494,
                    8.7831,
                    8.6458,
                    8.6,
                    8.6916,
                    8.6458,
                    8.7374,
                    8.7374,
                    8.6458,
                    8.4627,
                    8.4169,
                    8.4398,
                    8.3712,
                    8.4627,
                    8.3254,
                    8.2338,
                    8.0507,
                    8.0049,
                    7.8218,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
                    5.327,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
